export const contentTableConfig = {
  title: "菜单列表",
  showFooter: false,
  childrenProps: {
    rowKey: "id",
    treeProp: {
      children: "children",
    },
  },
  propList: [
    { prop: "name", label: "菜单名称", minWidth: "100px" },
    { prop: "type", label: "类型", minWidth: "100px" },
    { prop: "url", label: "菜单URL", minWidth: "120px" },
    { prop: "icon", label: "菜单图标", minWidth: "100px" },
    { prop: "permission", label: "按钮权限", minWidth: "100px" },
    {
      prop: "createAt",
      label: "创建时间",
      minWidth: "220px",
      slotName: "createAt",
    },
    {
      prop: "updateAt",
      label: "更新时间",
      minWidth: "220px",
      slotName: "updateAt",
    },
    {
      label: "操作",
      minWidth: "150px",
      slotName: "handler",
    },
  ],
};
